#pragma once

#include "Agent.h"
#include "BehaviorTree.h"
#include "WorldObjectManager.h"
class BunnyAgent : public Agent
{
	public:
		BunnyAgent();
		~BunnyAgent();



		void Initialize(std::vector<std::vector<Node*>> &pGrid);
		void Cleanup();
		void Update(float pDeltaTime);

		void SearchArea();
		void Think();
		void Act();

		//FUNCTION POINTERS
		int Wander(BNode::Status p_Status);
		int FindFood(BNode::Status p_Status);
		int TimeCheck(BNode::Status p_Status);
		int CheckForWolf(BNode::Status p_Status);
		int RunFromWolf(BNode::Status p_Status);

		int CheckForFood(BNode::Status p_Status);
		int WalkTowardsFood(BNode::Status p_Status);
		int EatFood(BNode::Status p_Status);


private:
		BNode *m_xNode;
	

};

